package com.zfk.transaction.mapper;

import com.zfk.transaction.entity.User;
import org.apache.ibatis.annotations.Mapper;


@Mapper
public interface UserMapper {

    User getByEmailAndPassword(String email, String password);

    int add(User user);

    User getByEmail(String email);

    int updateByEmail(String email,String password);

    User getById(int id);

    int updateUser(User user);
}
